package com.ruyuan.eshop.seller.domain.query;

import com.ruyuan.eshop.framework.domain.query.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author pwd
 * @version 1.0
 */
@ApiModel
@Data
public class OrderListQuery extends BaseQuery {

    @ApiModelProperty("订单编号")
    @NotNull
    private String orderSn;

    @ApiModelProperty("买家姓名")
    private String buyerName;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("开始时间")
    private Long startTime;

    @ApiModelProperty("结束时间")
    private Long endTime;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("页码")
    @NotNull
    private Long pageNo;

    @ApiModelProperty("每页记录数")
    @NotNull
    private Long pageSize;

    @ApiModelProperty("关键字")
    private String keywords;

    @ApiModelProperty("客户端类型")
    private String clientType;

}